package com.xyx.ssm.service;

import java.util.List;
import java.util.Map;

import com.xyx.ssm.po.SyRole;
import com.xyx.ssm.po.Syroleauthority;
import com.xyx.ssm.util.Page;

public interface SyroleService {
	Page<Map<String, Object>> findPage(Page<Map<String, Object>> page);

	public int syroleadd(Map<String, Object> map);

	public int syroleDelete(String ids);

	public int syroleUpdate(SyRole syrole);

	public List<SyRole> syroleId(Integer id);

	public int insertroleauthority(Syroleauthority ra);


	public List<SyRole> selallrole();

	public int deleteall(int userid);

}
